const cmd = [
  {
    tag: /第([\d]{1,}|[一二三四五六七八九十]{1})个(菜单|路由|页面)/gi,
    action: 'pageServer.goTo',
    type: 'page'
  },
  {
    tag: /(切换|跳转)(路由|菜单|页面)?(到|至|为)([\s\S\w\W]*)/gi,
    action: 'pageServer.goByNameText',
    type: 'page'
  },
  {
    tag: /(切换|(下|后)(一|1)个?)(菜单|路由|页)/gi,
    exec: (app, params) => {
      app.pageServer.go(1)
    }
  },
  {
    tag: /(切换|(上|前)(一|1)个?)(菜单|路由|页)/gi,
    exec: (app, params) => {
      app.pageServer.go(1)
    }
  },

]
export default cmd
